from pytesseract import *
from verifycode import verifycode

buf, data = verifycode()

png = buf.getvalue()

with open('/home/lyh/png/2.png', 'wb') as f:
    f.write(png)

print(data)

